<?php

class MainIndexView extends HTMLQuickFormView
{
	protected function CreateForm()
	{
		$this->form->addElement('text', 'text1');
		$this->form->addElement('select', 'action', null, array('Post' => 'Post', 'JSON' => 'JSON', 'Huh' => 'Huh?'));
	}
}

?>